module.exports = {
  plugins: [
    [
      "import",
      {
        libraryName: "vant",
        libraryDirectory: "es",
        // style: true,
        // 指定样式路径
        style: (name) => `${name}/style/less`,
      },
      "vant",
    ],
    "@babel/plugin-syntax-dynamic-import",
  ],
  "presets": [
    [
      "@vue/cli-plugin-babel/preset"
    ]
  ]
  // presets:["@vue/cli-plugin-babel/preset"]
  /* "presets": [
    
    "@babel/env"
    
  ] */
  // presets:[["@vue/cli-plugin-babel/preset", { "exclude": ["@babel/plugin-syntax-dynamic-import"] }]]
  // presets:["@vue/cli-plugin-babel/preset", { "exclude": ["syntax-dynamic-import"] }]
  /* "presets": [
    [
      "@vue/cli-plugin-babel/preset", {
          "exclude": ["import"]
        }
      ]
    ] */
    //["@vue/cli-plugin-babel/preset", { "exclude": ["proposal-dynamic-import"] }]
    // presets:["@vue/cli-plugin-babel/preset"],
    // presets:["@babel/preset-env"],
  
};
